/* 自定义样式 */
.dragover {
    border-color: #3B82F6 !important;
    background-color: #EBF5FF;
}

/* 图片预览样式 */
.preview-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.5rem;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-item .remove-btn {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 9999px;
    padding: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.preview-item .remove-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* 响应式调整 */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #imagePreview {
        grid-template-columns: 1fr;
    }
} 